package com.yike.user.service;

import com.yike.user.entity.SysSetting;
import com.yike.user.param.SysSettingPageParam;
import com.yike.common.base.BaseService;
import com.yike.common.pagination.Paging;

/**
 * 系统属性配置表 服务类
 *
 * @author Sakura
 * @since 2024-09-29
 */
public interface SysSettingService extends BaseService<SysSetting> {

    /**
     * 保存
     *
     * @param sysSetting
     * @return
     * @throws Exception
     */
    boolean saveSysSetting(SysSetting sysSetting) throws Exception;

    /**
     * 修改
     *
     * @param sysSetting
     * @return
     * @throws Exception
     */
    boolean updateSysSetting(SysSetting sysSetting) throws Exception;

    /**
     * 删除
     *
     * @param id
     * @return
     * @throws Exception
     */
    boolean deleteSysSetting(Long id) throws Exception;


    /**
     * 获取分页对象
     *
     * @param sysSettingPageParam
     * @return
     * @throws Exception
     */
    Paging<SysSetting> getSysSettingPageList(SysSettingPageParam sysSettingPageParam) throws Exception;

}
